import os
def DirFile(rootDir):
	list_dirs = os.walk(rootDir)
	for root,dirs,files in list_dirs:
		for d in dirs:
			print (os.path.join(root,d))
		for f in files:
			print (os.path.join(root,f))
DirFile('c:')
